package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.admin.vos.NewsAuthVo;
import com.heima.model.wemedia.pojos.WmNews;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface WmNewsMapper  extends BaseMapper<WmNews> {

    List<WmNews> pageWmNewsAndUserName(@Param("status") Integer status, @Param("title")String title, @Param("page")Integer page, @Param("size")Integer size);
}
